package com.boco.biinjectionserviceapi.service.config;

import com.boco.biinjectionserviceapi.dto.SummaryDto;
import com.boco.biinjectionserviceapi.model.config.ModelConfigEntity;

/**
 * @Description: 用于图块的基础数据的查询和组装
 * @Author: yc
 * @CreateDate: 2019/5/15$ 15:34$
 * @UpdateUser: yc
 * @UpdateDate: 2019/5/15$ 15:34$
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
public interface ICommonModelConfigService {


    /**
     * 根据图块ID获取图块需要的信息
     * @param modelId
     * @return summaryDto
     */
    SummaryDto getSummaryModelById(int modelId);

    /**
     * 根据复杂的查询条件获取
     * @param modelConfig
     * @return
     */
    SummaryDto getSummaryModelByParams(ModelConfigEntity modelConfig);
}
